package com.wmc.sqltransformweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @auther wangmingchang
 * @date 2019/11/1 09:47
 */
@Controller
public class IndexController {

    @GetMapping("/")
    public String index(Model model){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("index");
        return "index";
    }
}
